//
//  PreviewFileVC.h
//  CedarFinancePH
//
//  Created by lshenrong on 2018/8/25.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import "CedarBaseViewController.h"
#import <QuickLook/QuickLook.h>

@interface PreviewFileItem : NSObject <QLPreviewItem>

@property (nonatomic,readwrite) NSURL * previewItemURL;
@property (nonatomic,readwrite) NSString * previewItemTitle;

@end

@interface PreviewFileVC : QLPreviewController

//+ (instancetype) previewFileWithNetUrl:(NSString *)fileUrl fileName:(NSString *)fileName;

+ (instancetype) previewFileWithLocalStorageUrl:(NSString *)fileUrl fileName:(NSString *)fileName;

- (BOOL)isCanPreviewItem;

@end
